package day05.KeTangDaiMa.JuBu;
//局部内部类演示
public class Tses01 {
    public static void main(String[] args) {
        Outer o = new Outer();
        o.method();
    }
}
class Outer {
    private int num = 10;
    public void method(){
        int num2 = 20;
        class Inner {
            public void show(){
                System.out.println("num");
                System.out.println("num1");
            }
        }
        Inner i = new Inner();
        i.show();
    }
}
